/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.FlightAdjustCompensation;

public interface FlightAdjustCompensationDao extends Dao {

    /**
     * Retrieves all of the flightAdjustCompensations
     */
    public List getFlightAdjustCompensations(FlightAdjustCompensation flightAdjustCompensation);

    /**
     * Gets flightAdjustCompensation's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the flightAdjustCompensation's id
     * @return flightAdjustCompensation populated flightAdjustCompensation object
     */
    public FlightAdjustCompensation getFlightAdjustCompensation(final Integer id);

    /**
     * Saves a flightAdjustCompensation's information
     * @param flightAdjustCompensation the object to be saved
     */    
    public int saveFlightAdjustCompensation(FlightAdjustCompensation flightAdjustCompensation);

    /**
     * Removes a flightAdjustCompensation from the database by id
     * @param id the flightAdjustCompensation's id
     */
    public void removeFlightAdjustCompensation(FlightAdjustCompensation flightAdjustCompensation);
}

